package com.yun.springbootsecurity.mapper;

import com.yun.springbootsecurity.pojo.Resource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ResourceMapper {

    @Select("select * from t_resource where resource_id = #{resourceId}")
    List<Resource> selectResourceByResourceId(String resourceId);
}
